-3 -2 -1 0 1 2
It is easy to forget about that "0" sandwiched between -1 and 1.
Here are three things you have to do correctly to get the integers you want out of a counting loop:
DO
WHILE statement.The amount to increase can be whatever you want. Here is a program where it is 2:
' Loop with increase amount of 2 ' LET NUM = 0 'First Value DO WHILE NUM <= 10 'next two statements execute if NUM is less than or equal to 10 PRINT NUM LET NUM = NUM + 2 'increase NUM by two LOOP END
What will this new program print on the monitor screen? Be careful about the first two numbers.